package org.jeecg.modules.nurse_goods_detail.service.impl;

import org.jeecg.modules.nurse_goods.mapper.NurseGoodsMapper;
import org.jeecg.modules.nurse_goods_detail.entity.NurseGoodsDetail;
import org.jeecg.modules.nurse_goods_detail.mapper.NurseGoodsDetailMapper;
import org.jeecg.modules.nurse_goods_detail.service.INurseGoodsDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 商品详情
 * @Author: jeecg-boot
 * @Date: 2024-05-24
 * @Version: V1.0
 */
@Service
public class NurseGoodsDetailServiceImpl extends ServiceImpl<NurseGoodsDetailMapper, NurseGoodsDetail> implements INurseGoodsDetailService {

    @Autowired
    NurseGoodsDetailMapper NurseGoodsDetailMapper;

    @Override
    public List<NurseGoodsDetail> queryListByGoodsid(String goodsId, String goods_type) {
        return NurseGoodsDetailMapper.queryListByGoodsid(goodsId, goods_type);
    }

    @Override
    public List<Map<String, Object>> queryListNew(String pid) {
        return NurseGoodsDetailMapper.queryListNew(pid);

    }

}
